#ifndef __AX_K210_H
#define __AX_K210_H

#include "stm32f10x.h"
typedef enum {
    RE_PACKAGE_HEAD_1,
    RE_PACKAGE_HEAD_2,
    RECEIVE_DATA,
    RE_PACKAGE_END_1,
    RE_PACKAGE_END_2,
} DATA_PACKAGE_STATUS;

extern DATA_PACKAGE_STATUS buffer_status;
extern uint8_t buf_member_bit;

extern uint8_t first_head;
extern uint8_t sacond_head;

extern uint8_t first_end;
extern uint8_t sacond_end;

extern uint8_t package_len;

void K210_Line_Init(void);

extern uint8_t U3_RX_BUFFER[12];
#endif


